/*
	MoveToFront
	-----------

	data transformation algorithm

	Remarks:
	But the authors of the BWT, Michael Burrows and David Wheeler
	recommended that data should be crunched in such an order:

	Data -> (maybe a simple RLE cruncher ->) BWT -> MTF -> Huffman or Arithmetic Cruncher

	by yoda

*/

#pragma once

#include <windows.h>

//
// MoveToFront class
//
class MoveToFront
{
public:
	static void Encode( PBYTE buffer, DWORD cb );
	static void Decode( PBYTE buffer, DWORD cb );
};
